Implicit and explicit functions

The implicit function theorem provides a link between implicit and explicit functions. It states that if the equation R(x, y) = 0 satisfies some mild conditions on its partial derivatives, then one can in principle solve this equation for y, at least over some small interval. Geometrically, the graph defined by R(x,y) = 0 will overlap locally with the graph of an equation y = f(x).

Various numerical methods exist for solving the equation R(x,y)=0 to find an approximation to the implicit function f. Many of these methods are iterative in that they produce successively better approximations, so that a prescribed accuracy can be achieved. Many of these iterative methods are based on some form of Newton's method.

Contents

Examples

Inverse functions

A common type of implicit function is an inverse function. If f is a function, then the inverse function of f, called f^{-1}, is the function giving a solution of the equation

x=f(y)

for y in terms of x. This solution is

 y = f^{-1}(x).

Intuitively, an inverse function is obtained from f by interchanging the roles of the dependent and independent variables. Stated another way, the inverse function gives the solution for y of the equation

R(x,y) = x-f(y) = 0.

Examples.

  1. The natural logarithm ln(x) gives the solution y = ln(x) of the equation x − ey = 0 or equivalently of x = ey. Here f(y)=e^y and f^{-1}(x) = \ln(x).
  2. The product log is an implicit function giving the solution for y of the equation x − y ey = 0.

Algebraic functions

An algebraic function is a function that satisfies a polynomial equation whose coefficients are themselves polynomials. For example, an algebraic function in one variable x gives a solution for y of an equation

a_n(x)y^n%2Ba_{n-1}(x)y^{n-1}%2B\cdots%2Ba_0(x)=0

where the coefficients a_i(x) are polynomial functions of x. Algebraic functions play an important role in mathematical analysis and algebraic geometry. A simple example of an algebraic function is given by the unit circle equation:

x^2%2By^2-1=0.

Solving for y gives an explicit solution:

y=\pm\sqrt{1-x^2}.

But even without specifying this explicit solution, it is possible to refer to the implicit solution of the unit circle equation.

While explicit solutions can be found for equations that are quadratic, cubic, and quartic in y, the same is not in general true for quintic and higher degree equations, such as

 y^5 %2B 2y^4 -7y^3 %2B 3y^2 -6y - x = 0.

Nevertheless, one can still refer to the implicit solution y=g(x) involving the multi-valued implicit function g.

Caveats

Not every equation R(xy) = 0 implies a graph of a single-valued function, the circle equation being one prominent example. Another example is an implicit function given by x − C(y) = 0 where C is a cubic polynomial having a "hump" in its graph. Thus, for an implicit function to be a true (single-valued) function it might be necessary to use just part of the graph. An implicit function can sometimes be successfully defined as a true function only after "zooming in" on some part of the x-axis and "cutting away" some unwanted function branches. Then an equation expressing y as an implicit function of the other variable(s) can be written.

The defining equation R(x,y)=0 can also have other pathologies. For example, the equation x = 0 does not imply a function f(x) giving solutions for y at all; it is a vertical line. In order to avoid a problem like this, various constraints are frequently imposed on the allowable sorts of equations or on the domain. The implicit function theorem provides a uniform way of handling these sorts of pathologies.

Implicit differentiation

In calculus, a method called implicit differentiation makes use of the chain rule to differentiate implicitly defined functions.

As explained in the introduction, y can be given as a function of x implicitly rather than explicitly. When we have an equation R(xy) = 0, we may be able to solve it for y and then differentiate. However, sometimes it is simpler to differentiate R(xy) with respect to x and y and then solve for dy/dx.

Examples

1. Consider for example

y %2B x %2B 5 = 0 \,

This function normally can be manipulated by using algebra to change this equation to one expressing y in terms of an explicit function:

y = -x - 5 \, ,

where the right side is the explicit function whose output value is y. Differentiation then gives \frac{dy}{dx}=-1. Alternatively, one can totally differentiate the original equation:

\frac{dy}{dx} %2B \frac{dx}{dx} %2B \frac{d}{dx}(5) = 0;
\frac{dy}{dx} %2B 1 = 0.

Solving for \begin{matrix}\frac{dy}{dx}\end{matrix} gives:

\frac{dy}{dx} = -1,

the same answer as obtained previously.

2. An example of an implicit function, for which implicit differentiation might be easier than attempting to use explicit differentiation, is

 x^4 %2B 2y^2 = 8 \,

In order to differentiate this explicitly with respect to x, one would have to obtain (via algebra)

y = f(x) =  \pm\sqrt{\frac{8 - x^4}{2}},

and then differentiate this function. This creates two derivatives: one for y > 0 and another for y < 0.

One might find it substantially easier to implicitly differentiate the original function:

4x^3 %2B 4y\frac{dy}{dx} = 0,

giving,

\frac{dy}{dx} = \frac{-4x^3}{4y} = \frac{-x^3}{y}

3. Sometimes standard explicit differentiation cannot be used and, in order to obtain the derivative, implicit differentiation must be employed. An example of such a case is the equation y5 − y = x. It is impossible to express y explicitly as a function of x and therefore dy/dx cannot be found by explicit differentiation. Using the implicit method, dy/dx can be expressed:

5y^4\frac{dy}{dx} - \frac{dy}{dx} = \frac{dx}{dx}

where \frac{dx}{dx} = 1. Factoring out \frac{dy}{dx} shows that

\frac{dy}{dx}(5y^4 - 1) = 1

which yields the final answer

\frac{dy}{dx}=\frac{1}{5y^{4}-1},

which is defined for y \ne \pm\frac{1}{\sqrt[4]{5}}.

Formula for two variables

"The Implicit Function Theorem states that if F is defined on an open disk containing (a,b), where F(a,b)=0, F_y (a,b) \not = 0, and F_x and F_y are continuous on the disk, then the equation F(x,y) = 0 defines y as a function of x near the point (a,b) and the derivative of this function is given by..."[1]:§ 11.5

\frac{dy}{dx} = -\frac{\partial F / \partial x}{\partial F / \partial y} = -\frac {F_x}{F_y},

where F_x and F_y indicate the derivatives of F with respect to x and y.

The above formula comes from using the generalized chain rule to obtain the total derivative—with respect to x—of both sides of F(xy) = 0:

\frac{\partial F}{\partial x} \frac{dx}{dx} %2B \frac{\partial F}{\partial y} \frac{dy}{dx} = 0,

and hence

\frac{\partial F}{\partial x} %2B \frac{\partial F}{\partial y} \frac{dy}{dx} =0.

Implicit function theorem

It can be shown that if R(x,y) is given by a smooth submanifold M in \Bbb{R}^2, and (a,b) is a point of this submanifold such that the tangent space there is not vertical (that is \frac{\partial R}{\partial y}\ne0), then M in some small enough neighbourhood of (a,b) is given by a parametrization (x,f(x)) where f is a smooth function. In less technical language, implicit functions exist and can be differentiated, unless the tangent to the supposed graph would be vertical. In the standard case where we are given an equation

R(x,y) = 0

the condition on R can be checked by means of partial derivatives.[1]:§ 11.5

Applications in economics

Marginal rate of substitution

In economics, when the level set R(x,y)=0 is an indifference curve for the quantities x and y consumed of two goods, the absolute value of the implicit derivative is interpreted as the marginal rate of substitution of the two goods: how much more of y one must receive in order to be indifferent to a loss of 1 unit of x.

See also

References

  1. ^ a b Stewart, James (1998). Calculus Concepts And Contexts. Brooks/Cole Publishing Company. ISBN 0-534-34330-9.